package jvm.FourCharacteristic;

import java.io.IOException;

/**
 * 进行强引用
 */
public class strongReference {
    public static void main(String[] args) throws IOException {
        publicData p = new publicData();
        p = null;
        System.gc();

        System.in.read(); //阻塞main进程，给垃圾回收线程时间执行
    }
}
